﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IWMAG.Core.Objects {
    public struct Frame {
        public int FrameId;
        public float Duration;
        public ScriptContext Script;

        public Frame(int frame, float duration) {
            FrameId = frame;
            Duration = duration;
            Script = null;
        }

        public Frame(int frame, float duration, ScriptContext context) {
            FrameId = frame;
            Duration = duration;
            Script = context;
        }
    }
}
